//
//  DetailCell2.m
//  Cunli
//
//  Created by lilubin on 15/8/14.
//  Copyright (c) 2015年 lilubin. All rights reserved.
//

#import "DetailCell2.h"
#import "IncomeModel.h"

@implementation DetailCell2

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _optxtLabel.text = self.detailModel.optxt;
    _creditLabel.text =[NSString stringWithFormat:@"+%@",_detailModel.credit];
    _optimeLabel.text = [_detailModel.optime substringFromIndex:5];
    [_optxtLabel setTextColor:[UIColor colorWithHexString:InfoCellTitleColorValue]];
    [_optimeLabel setTextColor:[UIColor colorWithHexString:InfoCellIntroduceColorValue]];
    
}


@end
